@extends('layouts.app')

@section('content')
    <div class="content">
        <div class="header">
            <ul class="breadcrumb">
                <li><i class="fa fa-fw fa-cog"></i>单位管理</li>
                <li>编辑安防设施</li>
            </ul>
        </div>
        <div class="main-content main-content2">
            <h2 class="text-center content_tt">
                @if($type == 1)党政机关
                @elseif($type == 2)卫生系统
                @elseif($type == 3)高校
                @elseif($type == 4)中小学幼儿园
                @elseif($type == 5)大型商场超市、金银珠宝店
                @elseif($type == 6)银行、金融机构
                @elseif($type == 7)加油（气）站
                @elseif($type == 8)其他单位
                @endif安防设施情况
            </h2>
            <form name="add_form" id="add_form" method="post" enctype="multipart/form-data">
                <input type="hidden" name="_token" value="{{ csrf_token() }}">
                <div class="row">
                    <br>
                    @if($type == 1)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">机关大院出入口安装防撞击金属门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="DZWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->DZWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->DZWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">重点要害部位出入口安装防盗门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="DZWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->DZWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->DZWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">重点要害部位安装防盗门、防盗窗</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="DZWF03">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->DZWF03 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->DZWF03 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">财务室保险箱有无与墙面或地面固定</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="DZWF04">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->DZWF04 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->DZWF04 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif

                    @if($type == 2)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">医院周界封闭屏障应安装金属防护栏或实体墙</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="WSWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->WSWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->WSWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">药库房、剧毒精麻药品存放地、放射源、中心供氧站等部位安装防盗门金属防护栏</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="WSWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->WSWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->WSWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">财务室保险箱有无与墙面或地面固定</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="WSWF03">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->WSWF03 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->WSWF03 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif

                    @if($type == 3)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">学校主要出入口安装防撞击金属门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="GXWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->GXWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->GXWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">学校主要出入口、主干道设置机动车减速装置</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="GXWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->GXWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->GXWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">重点要害部位安装符合标准的防盗门、窗或金属护栏</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="GXWF03">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->GXWF03 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->GXWF03 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">财务室保险箱与墙面或地面固定</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="GXWF04">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->GXWF04 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->GXWF04 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">对供水、供电、供气、供热、供油等场所、部位设置相应的实体防护设施</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="GXWF05">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->GXWF05 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->GXWF05 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">对高台、楼梯、水域等易发生坠落、踩踏、溺水等安全事故的场所、部位设置警示标志和相应的防护设施</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="GXWF06">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->GXWF06 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->GXWF06 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif

                    @if($type == 4)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">主要出入口安装金属防护门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="XXWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->XXWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->XXWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">主要出入口设置机动车辆减速装置</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="XXWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->XXWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->XXWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">重要部位安装符合国家标准的防盗门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="XXWF03">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->XXWF03 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->XXWF03 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">重要部位窗户安装金属防护栏</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="XXWF04">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->XXWF04 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->XXWF04 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">事故易发部位设置防护设施和警示标志</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="XXWF05">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->XXWF05 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->XXWF05 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">供水、供电、供气、供热等部位设置实体防护装置</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="XXWF06">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->XXWF06 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->XXWF06 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif

                    @if($type == 5)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">金银珠宝饰品柜台安装防砸玻璃</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="ZBWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->ZBWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->ZBWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">营业柜台有进出柜台门并上锁</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="ZBWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->ZBWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->ZBWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">夜间金银饰品存放专用保险箱</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="ZBWF03">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->ZBWF03 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->ZBWF03 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">保险箱与地面或墙面固定</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="ZBWF04">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->ZBWF04 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->ZBWF04 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif

                    @if($type == 6)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">营业网点出入口防盗门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="YHWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->YHWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->YHWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">营业网点二层（含二层）以下防盗窗或防弹玻璃</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="YHWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->YHWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->YHWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif

                    @if($type == 7)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">收费处(现金存放室)IC卡充值出入口防盗门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JYWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JYWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JYWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">收费柜台上方安装金属防护栏或防弹玻璃</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JYWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JYWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JYWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">收费处(现金存放室)IC卡充值窗口金属防护栏</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JYWF03">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JYWF03 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JYWF03 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">油库(罐)区应对加、取油口等部位采取防破坏、防盗窃防护措施</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JYWF04">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JYWF04 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JYWF04 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif

                    @if($type == 8)
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">重点要害部位出入口防盗门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JZWF01">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JZWF01 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JZWF01 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">重点要害部位防盗窗</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JZWF02">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JZWF02 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JZWF02 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">财务室防盗门</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JZWF03">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JZWF03 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JZWF03 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">财务室防盗窗</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JZWF04">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JZWF04 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JZWF04 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-10">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-4 control-label font-bd">财务室保险箱是否与墙面或地面固定</label>
                                    <div class="col-sm-5">
                                        <select class="form-control" name="JZWF05">
                                            <option value="">请选择</option>
                                            <option value="1" @if($re && $re->JZWF05 ==1)selected @endif>有</option>
                                            <option value="2" @if($re && $re->JZWF05 ==2)selected @endif>无</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    @endif
                </div>

                <div class="btn-toolbar list-toolbar list-toolbar2  ">
                    <button class="btn btn-primary">确定</button>
                    <a href="javascript:history.back(-1);" class="btn btn-back">返回</a>
                </div>
            </form>
        </div>
    </div>
@stop